﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace StudentMaragement.Models
{
    public interface IStudentRepository
    {

        Student GetStudent(int id);

        //查询所有数据
        //IEnumerable 在内存中的数据
        IEnumerable<Student> GetAllStudents();

        //添加数据
        Student Add(Student student);


    }
}
